package com.example.handler;

import com.lly835.bestpay.enums.BestPayPlatformEnum;
import com.lly835.bestpay.model.PayResponse;
import org.springframework.stereotype.Service;

@Service
public class SysPayALIPayHandler implements SysPayHandler {

    @Override
    public Boolean match(PayResponse payResponse) {
        return payResponse.getPayPlatformEnum() == BestPayPlatformEnum.ALIPAY;
    }
}
